package com.lm.xstream.ele;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;

@Data
@XStreamAlias("person")
public class Person {
    @XStreamAlias("full_name")
    private String name;

    @XStreamAlias("years_old")
    private int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
